package com.jhd.fuzhou.service;


import com.jhd.fuzhou.vo.JsonForResult;

import java.util.Map;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;
import retrofit2.http.QueryMap;
import retrofit2.http.Streaming;

public interface DoubleRandomService {
    //双随机保存表单
    @POST("supervise/supervisionInspection/saveDoubleRandomManagement")
    Call<JsonForResult> saveDoubleRandomManagement(@Header("Authorization") String token,@Body RequestBody requestBody);
    //获取检查项目列表，传specialityCategoryId，detailSpecialityCategoryId，taskType=0
    @GET("supervise/supervisionInspection/getDoubleRandomInspectionByCondition")
    Call<JsonForResult> getDoubleRandomInspectionByCondition(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    @GET("supervise/supervisionInspection/getSupervisionInspectionDetailById")
    Call<JsonForResult> getSupervisionInspectionDetailById(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    @GET("supervise/supervisionInspection/getDoubleRandomInspectionDetailById")
    Call<JsonForResult> getDoubleRandomInspectionDetailById(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    //获取双随机抽查题库questionType: 双随机抽检内容；specialityCategory: 公共场所；status: 1、provincialStandard: 0、nationalStandard: 1
    @GET("supervise/superviseInspectQuestionBank/getSuperviseInspectQuestionBankList")
    Call<JsonForResult> getSuperviseInspectQuestionBankList(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    //获取双随机抽查题库questionType: 双随机抽检内容；specialityCategory: 公共场所；status: 1、provincialStandard: 0、nationalStandard: 1
    @GET("supervise/superviseInspectQuestionBank/getSuperviseInspectQuestionBankSpotCheckList")
    Call<JsonForResult> getSuperviseInspectQuestionBankSpotCheckList(@Header("Authorization") String token, @QueryMap Map<String, String> params);
}
